package org.bonorsoft.modules.system.service.impl;

import org.bonorsoft.modules.system.entity.SysLog;
import org.bonorsoft.modules.system.mapper.SysLogMapper;
import org.bonorsoft.modules.system.service.ISysLogService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 系统日志
 * @Author: WilliamYe
 * @Date:   2020-12-04
 * @Version: V1.0
 */
@Service
public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> implements ISysLogService {

    @Resource
    private SysLogMapper sysLogMapper;

    @Override
    public void clean(Integer logType) {
        sysLogMapper.clean(logType);
    }
}
